package com.rabbit.rabbitmqdemo.repository;

import com.rabbit.rabbitmqdemo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: zhangQi
 * @Date: 2020-07-30 13:18
 */
@Repository
public interface UserRepository extends JpaRepository<User,Long> {
    User getUserByEmail(String email);
}
